<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:url value="/register" var="register"/>
<c:url value="/login" var="login"/>
<c:url value="resources/css" var="resources"/>
<html>
<head>
	<link rel="stylesheet" type="text/css" media="screen" href="${resources}/style.css"/>
	<title>Connection</title>
</head>
<body>
	<form class="register-form" action="${register}" method="POST" >
		<a href="${login}">Go to Login</a>
		<fieldset>
			<legend>Inscription</legend>
			
			<p>
			<label for="username">Username</label>:
			<input id="username" name="username" size="20" maxlength="50" type="text"/>
			</p>
			
			<p>
			<label for="password">Password</label>:
			<input id="password" name="password" size="20" maxlength="50" type="password"/>
			</p>
			
			<p>
			<label for="password_confirm">Password Confirm</label>:
			<input id="password_confirm" name="password_confirm" size="20" maxlength="50" type="password"/>
			</p>
			
			<p>
			<label for="firstname">Firstname</label>:
			<input id="firstname" name="firstname" size="20" maxlength="50" type="text"/>
			</p>
			
			<p>
			<label for="lastname">Lastname</label>:
			<input id="lastname" name="lastname" size="20" maxlength="50" type="text"/>
			</p>
			
			<p><input type="submit" value="Inscription"/></p>
		</fieldset>
	</form>
	<p class="message">${message}</p>
</body>
</html>